﻿namespace DesignPatterns.BuilderPattern.Models
{
    public class Address
    {
        public int Id { get; set; }
        public int Number { get; set; }
        public string Street { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public int ZipCode { get; set; }

        public override string ToString()
        {
            return string.Format("{0} {1} {2}, {3} {4}", Number, Street, City, State, ZipCode);
        }
    }
}